home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-07-08 | 2.0 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Thu Jul 8 16:59:52 1993, modified Thu Jul 8 16:59:52 1993, creator Think C, type ASCII, 1423 bytes "TutorialLC.c" , at 0x60f 348 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 54 75 74 6f 72 69 | 61 6c 4c 43 2e 63 00 00 |..Tutori|alLC.c..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 05 8f 00 | 00 01 5c a8 62 3b 48 a8 |........|..\.b;H.|
|00000060| 62 3b 48 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |b;H.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 21 2d 00 00 |........|....!-..|
|00000080| 2f 2a 20 54 75 74 6f 72 | 69 61 6c 20 4c 43 20 44 |/* Tutor|ial LC D|
|00000090| 65 6d 6f 6e 73 74 72 61 | 74 69 6f 6e 20 50 72 6f |emonstra|tion Pro|
|000000a0| 67 72 61 6d 20 2a 2f 0d | 2f 2a 20 a9 46 61 63 65 |gram */.|/* .Face|
|000000b0| 57 61 72 65 20 31 39 39 | 33 2e 20 20 41 6c 6c 20 |Ware 199|3. All |
|000000c0| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|000000d0| 20 2a 2f 0d 0d 23 69 6e | 63 6c 75 64 65 20 3c 73 | */..#in|clude <s|
|000000e0| 74 72 69 6e 67 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |tring.h>|.#includ|
|000000f0| 65 20 22 46 61 63 65 53 | 74 6f 72 4c 43 2e 68 22 |e "FaceS|torLC.h"|
|00000100| 0d 65 78 74 65 72 6e 20 | 73 74 72 75 63 74 20 46 |.extern |struct F|
|00000110| 61 63 65 52 65 63 20 66 | 52 65 63 3b 0d 0d 73 68 |aceRec f|Rec;..sh|
|00000120| 6f 72 74 20 74 68 65 46 | 6c 61 67 2c 74 68 65 4c |ort theF|lag,theL|
|00000130| 69 73 74 49 74 65 6d 2c | 74 68 65 4d 65 6e 75 49 |istItem,|theMenuI|
|00000140| 74 65 6d 3b 0d 63 68 61 | 72 20 74 68 65 53 74 72 |tem;.cha|r theStr|
|00000150| 69 6e 67 5b 33 32 5d 3b | 0d 0d 76 6f 69 64 20 6d |ing[32];|..void m|
|00000160| 61 69 6e 28 29 0d 7b 0d | 09 73 74 72 63 70 79 28 |ain().{.|.strcpy(|
|00000170| 66 52 65 63 2e 75 4e 61 | 6d 65 2c 20 22 54 75 74 |fRec.uNa|me, "Tut|
|00000180| 6f 72 69 61 6c 2e 52 73 | 72 63 22 29 3b 0d 09 46 |orial.Rs|rc");..F|
|00000190| 61 63 65 49 74 28 30 4c | 2c 44 6f 49 6e 69 74 2c |aceIt(0L|,DoInit,|
|000001a0| 30 4c 2c 30 4c 2c 30 4c | 2c 30 4c 29 3b 0d 09 74 |0L,0L,0L|,0L);..t|
|000001b0| 68 65 46 6c 61 67 20 3d | 20 30 3b 0d 09 74 68 65 |heFlag =| 0;..the|
|000001c0| 4c 69 73 74 49 74 65 6d | 20 3d 20 33 3b 0d 09 74 |ListItem| = 3;..t|
|000001d0| 68 65 4d 65 6e 75 49 74 | 65 6d 20 3d 20 32 3b 0d |heMenuIt|em = 2;.|
|000001e0| 09 73 74 72 63 70 79 28 | 74 68 65 53 74 72 69 6e |.strcpy(|theStrin|
|000001f0| 67 2c 22 48 65 6c 6c 6f | 22 29 3b 0d 09 66 6f 72 |g,"Hello|");..for|
|00000200| 20 28 3b 3b 29 20 7b 0d | 09 09 46 61 63 65 49 74 | (;;) {.|..FaceIt|
|00000210| 28 30 4c 2c 44 6f 4c 6f | 6f 70 2c 30 4c 2c 30 4c |(0L,DoLo|op,0L,0L|
|00000220| 2c 30 4c 2c 30 4c 29 3b | 0d 09 09 69 66 20 28 28 |,0L,0L);|...if ((|
|00000230| 66 52 65 63 2e 75 4d 65 | 6e 75 49 44 20 3d 3d 20 |fRec.uMe|nuID == |
|00000240| 31 30 35 29 26 26 28 66 | 52 65 63 2e 75 4d 65 6e |105)&&(f|Rec.uMen|
|00000250| 75 49 74 65 6d 20 3d 3d | 20 31 29 29 0d 09 09 09 |uItem ==| 1))....|
|00000260| 7b 0d 09 09 09 46 61 63 | 65 49 74 28 30 4c 2c 4e |{....Fac|eIt(0L,N|
|00000270| 65 77 57 6e 64 2c 31 30 | 31 30 4c 2c 30 4c 2c 30 |ewWnd,10|10L,0L,0|
|00000280| 4c 2c 30 4c 29 3b 0d 09 | 09 09 46 61 63 65 49 74 |L,0L);..|..FaceIt|
|00000290| 28 30 4c 2c 47 65 74 43 | 74 6c 2c 31 30 31 30 4c |(0L,GetC|tl,1010L|
|000002a0| 2c 30 4c 2c 31 4c 2c 33 | 4c 29 3b 0d 09 09 09 46 |,0L,1L,3|L);....F|
|000002b0| 61 63 65 49 74 28 30 4c | 2c 4c 6e 6b 43 74 6c 2c |aceIt(0L|,LnkCtl,|
|000002c0| 28 6c 6f 6e 67 29 66 52 | 65 63 2e 63 43 6f 6e 74 |(long)fR|ec.cCont|
|000002d0| 72 6f 6c 2c 28 6c 6f 6e | 67 29 26 74 68 65 46 6c |rol,(lon|g)&theFl|
|000002e0| 61 67 2c 32 4c 2c 30 4c | 29 3b 0d 09 09 09 46 61 |ag,2L,0L|);....Fa|
|000002f0| 63 65 49 74 28 30 4c 2c | 47 65 74 43 74 6c 2c 31 |ceIt(0L,|GetCtl,1|
|00000300| 30 31 30 4c 2c 30 4c 2c | 31 4c 2c 34 4c 29 3b 0d |010L,0L,|1L,4L);.|
|00000310| 09 09 09 46 61 63 65 49 | 74 28 30 4c 2c 4c 6e 6b |...FaceI|t(0L,Lnk|
|00000320| 43 74 6c 2c 28 6c 6f 6e | 67 29 66 52 65 63 2e 63 |Ctl,(lon|g)fRec.c|
|00000330| 43 6f 6e 74 72 6f 6c 2c | 28 6c 6f 6e 67 29 74 68 |Control,|(long)th|
|00000340| 65 53 74 72 69 6e 67 2c | 2d 33 31 4c 2c 30 4c 29 |eString,|-31L,0L)|
|00000350| 3b 0d 09 09 09 46 61 63 | 65 49 74 28 30 4c 2c 47 |;....Fac|eIt(0L,G|
|00000360| 65 74 43 74 6c 2c 31 30 | 31 30 4c 2c 30 4c 2c 31 |etCtl,10|10L,0L,1|
|00000370| 4c 2c 35 4c 29 3b 0d 09 | 09 09 46 61 63 65 49 74 |L,5L);..|..FaceIt|
|00000380| 28 30 4c 2c 4c 6e 6b 43 | 74 6c 2c 28 6c 6f 6e 67 |(0L,LnkC|tl,(long|
|00000390| 29 66 52 65 63 2e 63 43 | 6f 6e 74 72 6f 6c 2c 28 |)fRec.cC|ontrol,(|
|000003a0| 6c 6f 6e 67 29 26 74 68 | 65 4c 69 73 74 49 74 65 |long)&th|eListIte|
|000003b0| 6d 2c 32 4c 2c 30 4c 29 | 3b 0d 09 09 09 46 61 63 |m,2L,0L)|;....Fac|
|000003c0| 65 49 74 28 30 4c 2c 47 | 65 74 43 74 6c 2c 31 30 |eIt(0L,G|etCtl,10|
|000003d0| 31 30 4c 2c 30 4c 2c 31 | 4c 2c 36 4c 29 3b 0d 09 |10L,0L,1|L,6L);..|
|000003e0| 09 09 46 61 63 65 49 74 | 28 30 4c 2c 4c 6e 6b 43 |..FaceIt|(0L,LnkC|
|000003f0| 74 6c 2c 28 6c 6f 6e 67 | 29 66 52 65 63 2e 63 43 |tl,(long|)fRec.cC|
|00000400| 6f 6e 74 72 6f 6c 2c 28 | 6c 6f 6e 67 29 26 74 68 |ontrol,(|long)&th|
|00000410| 65 4d 65 6e 75 49 74 65 | 6d 2c 32 4c 2c 30 4c 29 |eMenuIte|m,2L,0L)|
|00000420| 3b 0d 09 09 09 46 61 63 | 65 49 74 28 30 4c 2c 53 |;....Fac|eIt(0L,S|
|00000430| 65 74 56 61 6c 2c 31 30 | 31 30 4c 2c 30 4c 2c 30 |etVal,10|10L,0L,0|
|00000440| 4c 2c 30 4c 29 3b 0d 09 | 09 09 66 6f 72 20 28 3b |L,0L);..|..for (;|
|00000450| 3b 29 20 7b 0d 09 09 09 | 09 46 61 63 65 49 74 28 |;) {....|.FaceIt(|
|00000460| 30 4c 2c 4d 64 6c 57 6e | 64 2c 31 30 31 30 4c 2c |0L,MdlWn|d,1010L,|
|00000470| 30 4c 2c 30 4c 2c 30 4c | 29 3b 0d 09 09 09 09 69 |0L,0L,0L|);.....i|
|00000480| 66 20 28 66 52 65 63 2e | 75 4d 65 6e 75 49 44 20 |f (fRec.|uMenuID |
|00000490| 3d 3d 20 31 30 31 30 29 | 20 7b 0d 09 09 09 09 09 |== 1010)| {......|
|000004a0| 69 66 20 28 66 52 65 63 | 2e 77 63 48 69 74 20 3d |if (fRec|.wcHit =|
|000004b0| 3d 20 2d 31 29 0d 09 09 | 09 09 09 09 62 72 65 61 |= -1)...|....brea|
|000004c0| 6b 3b 0d 09 09 09 09 09 | 65 6c 73 65 20 69 66 20 |k;......|else if |
|000004d0| 28 66 52 65 63 2e 77 63 | 48 69 74 20 3d 3d 20 31 |(fRec.wc|Hit == 1|
|000004e0| 29 20 7b 0d 09 09 09 09 | 09 09 46 61 63 65 49 74 |) {.....|..FaceIt|
|000004f0| 28 30 4c 2c 47 65 74 56 | 61 6c 2c 31 30 31 30 4c |(0L,GetV|al,1010L|
|00000500| 2c 30 4c 2c 30 4c 2c 30 | 4c 29 3b 0d 09 09 09 09 |,0L,0L,0|L);.....|
|00000510| 09 09 62 72 65 61 6b 3b | 0d 09 09 09 09 09 09 7d |..break;|.......}|
|00000520| 0d 09 09 09 09 09 65 6c | 73 65 20 69 66 20 28 66 |......el|se if (f|
|00000530| 52 65 63 2e 77 63 48 69 | 74 20 3d 3d 20 32 29 20 |Rec.wcHi|t == 2) |
|00000540| 7b 0d 09 09 09 09 09 09 | 46 61 63 65 49 74 28 30 |{.......|FaceIt(0|
|00000550| 4c 2c 47 65 74 43 74 6c | 2c 31 30 31 30 4c 2c 30 |L,GetCtl|,1010L,0|
|00000560| 4c 2c 31 4c 2c 38 4c 29 | 3b 0d 09 09 09 09 09 09 |L,1L,8L)|;.......|
|00000570| 73 74 72 63 70 79 28 66 | 52 65 63 2e 75 53 74 72 |strcpy(f|Rec.uStr|
|00000580| 69 6e 67 2c 22 52 75 6e | 20 62 75 74 74 6f 6e 20 |ing,"Run| button |
|00000590| 77 61 73 20 68 69 74 2e | 22 29 3b 0d 09 09 09 09 |was hit.|");.....|
|000005a0| 09 09 46 61 63 65 49 74 | 28 66 52 65 63 2e 63 43 |..FaceIt|(fRec.cC|
|000005b0| 6f 6e 74 72 6f 6c 2c 31 | 35 36 35 4c 2c 32 4c 2c |ontrol,1|565L,2L,|
|000005c0| 30 4c 2c 30 4c 2c 30 4c | 29 3b 0d 09 09 09 09 09 |0L,0L,0L|);......|
|000005d0| 09 7d 0d 09 09 09 09 09 | 7d 0d 09 09 09 09 7d 0d |.}......|}.....}.|
|000005e0| 09 09 09 46 61 63 65 49 | 74 28 30 4c 2c 45 6e 64 |...FaceI|t(0L,End|
|000005f0| 57 6e 64 2c 31 30 31 30 | 4c 2c 30 4c 2c 30 4c 2c |Wnd,1010|L,0L,0L,|
|00000600| 30 4c 29 3b 0d 09 09 09 | 7d 0d 09 09 7d 0d 7d 00 |0L);....|}...}.}.|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000690| 74 69 76 65 00 00 00 1f | 00 d2 01 09 00 e2 01 54 |tive....|.......T|
|000006a0| 00 00 01 00 00 01 00 00 | 00 0a 00 00 00 00 08 49 |........|.......I|
|000006b0| 0c 54 75 74 6f 72 69 61 | 6c 4c 43 2e 63 5b 02 00 |.Tutoria|lLC.c[..|
|000006c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000006d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 a9 06 e5 39 00 00 | 00 00 00 00 01 5c 3f ff |.....9..|.....\?.|
|00000700| 02 8e 53 ee ff ea 62 7c | 20 55 20 50 3f 28 00 48 |..S...b|| U P?(.H|
|00000710| 3f 3c 00 01 a8 89 48 6e | ff ce aa 19 48 6e ff c8 |?<....Hn|....Hn..|
|00000720| aa 1a 42 a7 42 27 2f 2e | 00 0e 48 6f 00 06 aa 44 |..B.B'/.|..Ho...D|
|00000730| 54 4f 20 5f 20 50 20 68 | 00 08 2d 48 ff de a0 29 |TO _ P h|..-H...)|
|00000740| 2d 50 ff da 42 a7 42 27 | 20 6e 00 0e 20 50 2f 28 |-P..B.B'| n.. P/(|
|00000750| 00 04 48 6f 00 06 aa 42 | 54 4f 20 5f 20 50 20 68 |..Ho...B|TO _ P h|
|00000760| 00 08 20 50 30 28 00 06 | c0 fc 00 08 4a 70 00 08 |.. P0(..|....Jp..|
|00000770| 67 06 51 40 6c f6 70 00 | 2d 70 00 0a ff d4 3d 70 |g.Q@l.p.|-p....=p|
|00000780| 00 00 00 04 00 06 00 02 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00000790| 6f 6e 61 63 6f 00 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|000007a0| 00 16 00 00 00 46 00 05 | c0 08 04 c8 00 00 00 1c |.....F..|........|
|000007b0| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|000007c0| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 05 bc d0 |........|........|
|000007d0| 03 eb ff ff 00 00 00 08 | 00 05 bc e4 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+